Gaz game maker programming language

WARNING:
put 'temp=0' at the being of each block of code and at the end

WARNING:
when calling a function or procdure and the ( is a space a way from the
name it cause a error like: error>
draw_text (1,1,"")

WARNING:
when there a line of code with just spaces and nothing else this will cause
a error like:
32 = a space
brush_color(0)
32,32,32 error no empty lines with just spaces
draw_rectangle()

(The if statement.)
this is a very simply form of the if statement
you cant have function in the test
there is no elsif or else and no
logic statements (and, or, not)

show:
if x=0 then
// do something Warning if you don't put anything in here the game won't run
end if
error:
if x+1 = 100 then no (+ / * - &)
if real("1") = 1 then no (functions)

(The for loop.)
this is the same as euphoria
for loop

show:
for i=1 to 100 do
// do something Warning if you don't put anything in here the game won't run
end for
or like this:
for i=1 to 100 by 2 do
// do something Warning if you don't put anything in here the game won't run
end for

(The while statement.)
this is a simply form of the while statement
you cant have function in the test
logic statements (and, or, not)

show:
while 1=1 do
// do something Warning if you don't put anything in here the game won't run
end while

procedure:

draw_text (x,y,"text")
play_sound (sound name)
instance_destory (self)
sprite_change (sprite name)
view_center ()
room_next ()
room_back()
room_goto (room name)
jump_to_start (self)
instance_create (object name,x,y)
instance_create_move (object name,x,y,dir,speed)
reverse_dir ()
warp_object (self)
game_end ()
draw_line (1,1,100,100)
draw_rectangle (1,1,100,100)
draw_roundrect (1,1,100,100)
draw_ellipse (1,1,100,100)
brush_color (0)
pen_color (0)
brush_style (0)
font_color (0)
rgb (255,255,255)
show_message ("your message") don't use this
game_save (filename)
game_load (filename)
create_pixel( x, y, direction, speed, life time in steps, color)

function:

string (2323) return "2323"
random (4) return random number between 0 and 4
floor (0.10) return 0
grid (32,32) return true if object is on a grid by 32 32
key_check (key code) return true if key is preesed on keyboard
instance_number (object name) return the number of instance of a object
place_empty (x,y, 1=soild 0=all) return true if place is empty or -1
boundary (self)
outside_room (self)
get_integer ("message", 0 )
get_string ("message", "" )
-- not tested
string_copy
string_remove
string_length
string_remove_char
string_insert
string_width
string_char_at
char
real
is_string
is_real


variables for each instance of a object:

x
y
speed
vspeed
hspeed
dir
image_single
image_speed
visible
solid
other
self
bbox_left
bbox_right
bbox_top
bbox_bottom
hdir
vdir

global variables between instances of objects:

global1
global2
global3
global4
global5
global6

global game variables:

score
lives
health
room_width
room_height
view_left
view_top
mouse_button
mousex
mousey
background_color
last_room integer
current_room integer
keyboard_last
keyboard_key

key codes:

vk_left
vk_up
vk_down
vk_right
vk_space

colors:

c_white
c_black
c_red
c_green
c_gray
c_blue
c_brown